home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / S / SurferPlus / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-03  |  1.1 KB  |  57 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        globals.h
  3.  
  4.     Written by:    Mary Chan
  5.  
  6.     Copyright:    © 1990 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. /*    global variables */
  11. #ifndef    __CMINTF__
  12. #include    "CMIntf.h"
  13. #endif
  14.  
  15. #ifndef    __TMINTF__
  16. #include "TMIntf.h"
  17. #endif
  18.  
  19. #ifndef    __ FTINTF__
  20. #include "FTIntf.h"
  21. #endif
  22.  
  23. #ifndef    __GLOBALS__
  24.  
  25. #define        __GLOBALS__        1
  26.  
  27. #define        MAXCACHECOL        132
  28. #define        MAXCACHELINE    24
  29. #define        CACHESIZE        MAXCACHELINE*MAXCACHECOL
  30. #define        GROWBOXSIZE        13
  31. #define        CACHBOTTOMSLOP    3
  32.  
  33. #define        tmEnvironsChanged        2
  34.  
  35. typedef    struct    line        
  36. {
  37.     char        linearray[MAXCACHECOL];
  38. }line, *linePtr;
  39.  
  40. extern    TermHandle        _GTERM;
  41. extern    Handle            _MYDATAHANDLE;
  42. extern    long            _MYDATASIZE;
  43. extern    ControlHandle    _VERTSCROLLHDL;
  44. extern    ControlHandle    _HORISCROLLHDL;
  45. extern    Rect            _TERMVISRECT;
  46. extern    RgnHandle        _UPDATERGN;                    /*  preallocated update rgn hdl for scrolling */
  47. extern    Rect            _CACHEDESTRECT;                /* cache destination rect */
  48. extern    Handle            _MYDATAHDL;                    /* preallocate handle for TMPaint */
  49. extern    Rect            _GROWRECT;
  50. extern    Rect            _PORTRECT;
  51. extern    char            _BLANKLINE[];
  52. extern    RgnHandle        _OLDRGN;
  53. extern    RgnHandle        _NEWRGN;
  54. extern     RgnHandle        _SAVECLIP;
  55.  
  56.  
  57. #endif